#ifndef MAINTHREAD_H
#define MAINTHREAD_H
#include <qthread.h>
#include "otherqthread.h"



class mainTHread:public QObject
{
      Q_OBJECT //必须加，否则出现一些奇怪问题
public:
    mainTHread();
    void a();

    otherQThread * otherthread;
public
   slots:
        void returndone();
private:
 int getcode;

};

#endif // MAINTHREAD_H
